#ifndef HISTOGRAMYUV_H
#define HISTOGRAMYUV_H
#include "histogram.h"

class HistogramYUV : public Histogram
{
private:
    unsigned int * histogramY;
    unsigned int * histogramU;
    unsigned int * histogramV;
public:
    HistogramYUV();
    HistogramYUV(QImage* im);


    //Histogram(LImage);
    ~HistogramYUV();
    void setOwnerImage(QImage *im);
    QImage* getOwnerImage();
    QImage getHistImage();

    void calcHistogram();
    QImage calcHistImage();
    void   calcCDF();
};

#endif // HISTOGRAMYUV_H
